﻿@{
    ViewBag.Title = "tui";
    Layout = "~/Views/Shared/ShouYe.cshtml";
}
<link href="~/Content/css/bootstrap.min.css" rel="stylesheet" />
<script src="~/Scripts/js/jquery.min.js"></script>
<script src="~/Scripts/js/bootstrap.min.js"></script>
<h2>退休人员管理</h2>
<div>
    <form>
        <table class="table table-bordered">
            <thead>
                <tr>
                    <th style="text-align:center">编号</th>
                    <th style="text-align:center">姓名</th>
                    <th style="text-align:center">年龄</th>
                    <th style="text-align:center">性别</th>
                    <th style="text-align:center">住址</th>
                    <th style="text-align:center">基本工资</th>
                    <th style="text-align:center">工龄</th>
                    <th style="text-align:center">入职时间</th>
                    <th style="text-align:center">所在部门</th>
                    <th style="text-align:center">技能特长</th>
                    <th style="text-align:center">本人照片</th>
                    <th style="text-align:center">退休时间</th>
                    <th style="text-align:center">退休原因</th>

                </tr>
            </thead>
            <tbody>
                @foreach (var i in ViewBag.list)
                {
                    <tr>
                        <td>@i.Staff_ID</td>
                        <td>@i.Staff_Name</td>
                        <td>@i.Staff_Age</td>
                        <td>@(i.Staff_Sex == 1 ? "女" : "男")</td>
                        <td>@i.Staff_Address</td>
                        <td>@i.Staff_Money</td>
                        <td>@i.Staff_GL</td>
                        <td>@i.Hiredate</td>
                        <td>@i.BuMen</td>
                        <td>@i.JishuTechang</td>
                        <td><img src="@i.Image_Url" style="height:80px;width:80px" /></td>
                        <td>@i.ttime</td>
                        <td>@i.tcontent</td>
                    </tr>
                }
            </tbody>
        </table>
    </form>
</div>